package com.deepocean.service;

import com.deepocean.entity.*;

import java.util.List;

public interface IHierarchicalCycloneService {
    /**
     * 分级旋流器添加数据
     * @param hierarchicalCycloneEntity
     * @return
     */
    boolean add(HierarchicalCycloneEntity hierarchicalCycloneEntity);

    /**
     * 当前时间开始，进一小时数据总和
     * @param deviceId
     * @return
     */
    HierarchicalCycloneInAndOut1Hour getInAndOutInHour(String deviceId);

    /**
     * 分页查询
     * @param hierarchicalCycloneCondition
     * @return
     */
    List<HierarchicalCycloneEntity> getHierarchicalCycloneCondition(HierarchicalCycloneCondition hierarchicalCycloneCondition);
}
